package com.lingxu.module.collection.mapper;

import com.lingxu.module.collection.entity.CollectionMonitorArea;
import com.lingxu.module.collection.entity.CollectionMonitorSearchVo;
import com.lingxu.module.collection.entity.CollectionMonitorUploadInfo;
import com.lingxu.module.collection.entity.CollectionMonitorYear;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CollectionMonitorMapper {
    Integer getCollectionMonitorDayCount(@Param("newdate") String newdate,@Param("region")String region);

    Integer getCollectionMonitorAllcount(@Param("region")String region);

    Integer getCollectionMonitorWarncount(@Param("newdate") String newdate,@Param("region")String region);

    List<CollectionMonitorYear> getCollectionMonitorTimeInfo(@Param("year")String year,@Param("region") String region);

    List<CollectionMonitorArea> getCollectionMonitorAreaInfo(@Param("year")String year,@Param("region") String region);

    List<CollectionMonitorUploadInfo> getCollectionMonitorList(@Param("region") String region);

    List<CollectionMonitorArea> getCollectionMonitorAreaInfonew(@Param("vo")CollectionMonitorSearchVo vo);

    List<CollectionMonitorArea> getWarnListAreaInfo(@Param("vo")CollectionMonitorSearchVo vo);

    String getRegionByCityName(@Param("name")String name);

    String getCityNameByRegion(@Param("region")String region);
}
